package com.hnhcyy.goods;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

import com.hnhcyy.goods.properties.ImageConfig;


@Configuration
public class GoodsMvcConfig implements WebMvcConfigurer{

	/*@Value("${img_url_prefix}")
	private String img_url_prefix;*/

	@Override
    public void addResourceHandlers(ResourceHandlerRegistry registry) {
//        registry.addResourceHandler("/upload/**").addResourceLocations("classpath:/upload/");
//        WebMvcConfigurer.super.addResourceHandlers(registry);
//		Param.img_url_prefix = img_url_prefix;
    }

	
}
